<template>
  <div class = "index">
    <Head :title="title" @zs = "handler"/>
    me  
    <span>{{count}}</span>
  </div>
</template>
<script>
import Head from '@/components/Head.vue'
export default {
  data:()=>{
    return {
      title:"我的",
      count: ''
    }
  },
  components:{ 
    Head
  },
  methods: {
    handler(x){
      this.count = x
    }
  },
}
</script>
